import requests


symbol = "BTCUSDT"
url = f"https://fapi.binance.com/fapi/v1/constituents?symbol={symbol}"
response = requests.get(url)
data = response.json()
print(data)
constituents = data["constituents"]
for constituent in constituents:
    print(constituent)